package com.ylr.send.framework.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-06-26 21:23:13
 * className: AliSmsProperties
 * version: 1.0
 * description:
 */
@Getter
@Setter
@ToString
@Component
@ConfigurationProperties(prefix = "sms.ali")
public class AliSmsProperties {

    /**
     * 地区节点
     */
    private String endPoint;

    /**
     * 链接键
     */
    private String accessKeyId;

    /**
     * 连接密钥
     */
    private String accessKeySecret;

    /**
     * 短信服务，地区id
     */
    private String regionId;

    /**
     * 短信服务，签名名称
     */
    private String signName;

    /**
     * 短信服务，发送模板CODE
     */
    private String templateCode;

}
